package com.lzw.breadknife.sample.adapter;

import android.view.View;
import android.view.ViewGroup;

import com.lzw.breadknife.sample.R;
import com.lzw.breadknife.sample.bean.Music;

import java.util.List;

/**
 * author  : AWeiLoveAndroid
 * e-mail  : lzw460433675@163.com
 * github  : https://gitee.com/AWeiLoveAndroid/BreadKnife
 * project : BreadKnife
 */
public class MusicAdapter extends BaseAdapter<Music> {

    @Override
    public MusicViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new MusicViewHolder(View.inflate(parent.getContext(), R.layout.item_music, null));
    }
}
